.liveControl {
  line-height: 1.15;
  height: calc(480px - 218px - 65px);
  padding: 5px;
  display: flex;
  //border: 1px solid #ccc;

  .panel {
    width: 100%;
    //border: 1px solid #ccc;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #001d66;

    .liveTitle {
      height: 65px;

      .title1 {
        font-size: 16px;
        color: #FFFFFF;
        display: flex;
        justify-content: space-between;
      }

      .value {
        font-size: 18px;
        color: #609FFD;
      }

      .value1 {
        font-size: 18px;
        color: #A5B3DA;
      }
    }

    .btn {
      //border: 1px solid #ccc;
      background-color: #4893F9;
      border-radius: 50px;
      height: 30px;
      display: flex;
      justify-content: center;
      align-items: center;
      cursor: pointer;
      color: #FFF !important;

      &:hover {
        background-color: seagreen;
        //color: seagreen;
      }
    }
  }
}

.liveVideo {
  display: flex;
  height: 100%;
  justify-content: space-between;
  user-select: none;

  .leftInput, .rightOutput {
    //height: 100%;
    overflow: auto;
    //width: 280px;
    //background: linear-gradient(0deg, rgba(25, 38, 86, 0.9), rgba(41, 61, 118, 0.96));
    margin-top: 20px;
    height: calc(100% - 40px);
    background: linear-gradient(0deg, rgba(25, 38, 86, 0.9), rgba(41, 61, 118, 0.96));
    width: 320px;
    margin-left: 20px;
    z-index: 100;

    .topSearch {
      width: 100%;
      height: 50px;
      display: flex;
      flex-direction: row;
      align-items: center;

      .label {
        width: 90%;
        padding-left: 10px;
      }
      .refresh{
        padding-right: 10px
      }
    }

    .collapseCus {
      :global( .ant-collapse-item ) {
        border-radius: 0px !important;

        :global( .ant-collapse-header ) {
          cursor: pointer;

        }

        :global( .ant-collapse-content ) {
          border-radius: 0px !important;

          :global( .ant-collapse-content-box ) {
            background-color: #223367 !important;
            padding: 5px !important;
            :last-child {
              margin-bottom: 0px !important;
            }
          }
        }
      }
    }

    .title {
      height: 38px;
      font-size: 14px;
      color: rgba(255, 255, 255, 0.45);
      //background-color: #141414;
      //border-inline-end: 1px solid rgba(253, 253, 253, 0.12);
      padding: 8px 16px;
      line-height: 1.5714285714285714;
    }

    > ul[class^='ant-menu'] {
      top: 228px;
      position: absolute;
      height: calc(100% - 250px);
      overflow: auto;
      background: unset !important;
      background: unset !important;
      width: 320px !important;
      border-inline-end: unset !important;

      > li[class^='ant-menu-item'] {
        height: calc(480px - 208px - 65px);
        padding: 0 !important;
      }

      > li[class*='ant-menu-item-selected'] {
        background-color: #030852 !important;
      }
    }
  }
}

.CenterVideoBox {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  flex: 1 1;
  height: calc(100% - 20px);

  .centerVideo {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #000;
    overflow: hidden;
    margin-top: 20px;
    height: calc(100% - 40px);
    margin-left: 20px;
    margin-right: 20px;
    padding: 0;
    z-index: 1;

    .video {
      position: relative;
      //height: calc(100% - 40px);
      flex: 1 1 auto;
      display: flex;
      flex-direction: column;
      width: 100%;

      :global {
        .video-js {
          display: contents;

          div[class='vjs-control-bar'] {
            span[title="录像"] {
              display: none !important;
            }
          }
        }
      }

      .container {
        z-index: 100;
        position: absolute;
        top: 0;
        left: 0;
        display: flex;
        width: 100%;
        height: 100%;

        .mix {
          flex: 1;
          width: 100%;
          display: flex;
          justify-content: flex-start;
          flex-direction: row;
          flex-wrap: wrap;
        }

        .mix1 {

          .dropContain {
            flex: 1;
            height: 100%;
            position: relative;
          }
        }

        .mix2 {

          .dropContain {
            flex: 1 1 50%;
            height: 100%;
            position: relative;
          }
        }

        .mix4 {
          .dropContain {
            flex: 1 1 50%;
            height: 50%;
            position: relative;
          }
        }

        .mix13 {
          .dropContain:nth-child(1) {
            flex: 1 1 66.66%;
            height: 100%;
            position: relative;
          }

          .dropContain:nth-child(2) {
            flex: 0 0 33.33%;
            height: 33.33%;
            position: relative;
          }

          .dropContain:nth-child(3) {
            width: 33.33%;
            height: 33.33%;
            left: 66.66%;
            top: 33.33%;
            position: absolute;
          }

          .dropContain:nth-child(4) {
            width: 33.33%;
            height: 33.33%;
            left: 66.66%;
            top: 66.66%;
            position: absolute;
          }
        }

        .mix921 {
          .dropContain:nth-child(1) {
            flex: 1 1 100%;
            height: 100%;
            position: relative;
          }

          .dropContain:nth-child(2) {
            width: calc(33.33% + 20px);
            height: calc(33.33% + 20px);
            left: 0;
            top: 0;
            position: absolute;
          }
        }

        .mix923 {
          .dropContain:nth-child(1) {
            flex: 1 1 100%;
            height: 100%;
            position: relative;
          }

          .dropContain:nth-child(2) {
            width: calc(33.33% + 20px);
            height: calc(33.33% + 20px);
            left: calc(66.66% - 20px);
            top: 0;
            position: absolute;
          }
        }

        .mix922 {
          .dropContain:nth-child(1) {
            flex: 1 1 100%;
            height: 100%;
            position: relative;
          }

          .dropContain:nth-child(2) {
            width: calc(33.33% + 20px);
            height: calc(33.33% + 20px);
            left: 0;
            top: calc(66.66% - 20px);
            position: absolute;
          }
        }

        .mix924 {
          .dropContain:nth-child(1) {
            flex: 1 1 100%;
            height: 100%;
            position: relative;
          }

          .dropContain:nth-child(2) {
            width: calc(33.33% + 20px);
            height: calc(33.33% + 20px);
            left: calc(66.66% - 20px);
            top: calc(66.66% - 20px);
            position: absolute;
          }
        }
      }
    }
  }

  .toolsBox {

    flex: 0 0 50px;
    background-color: #3d3d3d;
    margin: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    padding: 0 20px;

    .first {
      flex: 0 0 auto;
      display: flex;
      justify-content: flex-start;
      align-items: center;
    }

    .second {
      flex: 0 1 auto;
      display: flex;
      justify-content: center;
      height: 100%;

      .rectSelect {
        position: relative;

        .rectFixBox {
          position: absolute;
          bottom: 100%;
          right: 0;
          width: 300px;
          height: 50px;
          background-color: #3d3d3d;
          z-index: 100;
          padding: 10px;
          display: flex;
          justify-content: space-around;
        }
      }
    }

    .three {
      flex: 0 0 auto;
    }
  }
}

.rectBox {
  height: 100%;
  width: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  margin: 0 10px;

  &:hover, .rectBox.active {
    background: #2d2d2d;
  }
}

.rectangle {
  position: relative;
  width: 50px;
  height: 30px;
  background-color: black;

  &.rect1 {
    &.active {
      background: #ffffff !important;
    }
  }

  &.rect2 {
    &.active {
      background: #ffffff !important;

      &::before {
        border-color: black !important;
        background-color: white !important;
      }
    }

    &::before {
      content: "";
      position: absolute;
      width: 50%;
      height: 100%;
      top: 0;
      left: 0;
      border-right: 1px solid white;
    }
  }

  &.rect4 {
    &.active {
      background: #ffffff !important;

      &::before {
        border-color: black !important;
        background-color: white !important;
      }

      &::after {
        border-color: black !important;
        background-color: white !important;
      }
    }

    &::before {
      content: '';
      position: absolute;
      background-color: black;
      top: 50%;
      left: 0;
      width: 100%;
      height: 1px;
      border-bottom: 1px solid white;
    }

    &::after {
      content: '';
      position: absolute;
      background-color: black;
      top: 0;
      left: 50%;
      width: 1px;
      height: 100%;
      border-right: 1px solid white;
    }
  }

  &.rect13 {
    &.active {
      background: #ffffff !important;

      &::before {
        border-color: black !important;
        background-color: white !important;
      }

      &::after {
        border-color: black !important;
        background-color: black !important;
      }
    }

    &::before {
      content: '';
      position: absolute;
      background-color: black;
      top: 33.33%;
      left: 66.66%;
      width: 33.33%;
      height: 33.33%;
      border-bottom: 1px solid white;
      border-top: 1px solid white;
    }

    &::after {
      content: '';
      position: absolute;
      background-color: white;
      top: 0;
      left: 66.66%;
      width: 1px;
      height: 100%;
      //border-right: 1px solid white;
    }
  }

  &.rect921 {
    &.active {
      background: #ffffff !important;

      &::before {
        border-color: black !important;
        background-color: white !important;
      }
    }

    &::before {
      content: "";
      position: absolute;
      width: 33.33%;
      height: 33.33%;
      top: 0;
      left: 0;
      border-right: 1px solid white;
      border-bottom: 1px solid white;
    }
  }

  &.rect923 {
    &.active {
      background: #ffffff !important;

      &::before {
        border-color: #000 !important;
        background-color: white !important;
      }
    }

    &::before {
      content: "";
      position: absolute;
      width: 33.33%;
      height: 33.33%;
      top: 0;
      left: 66.66%;
      border-left: 1px solid white;
      border-bottom: 1px solid white;
    }
  }

  &.rect922 {
    &.active {
      background: #ffffff !important;

      &::before {
        border-color: #000 !important;
        background-color: white !important;
      }
    }

    &::before {
      content: "";
      position: absolute;
      width: 33.33%;
      height: 33.33%;
      top: 66.66%;
      left: 0;
      border-right: 1px solid white;
      border-top: 1px solid white;
    }
  }

  &.rect924 {
    &.active {
      background: #ffffff !important;

      &::before {
        border-color: #000 !important;
        background-color: white !important;
      }
    }

    &::before {
      content: "";
      position: absolute;
      width: 33.33%;
      height: 33.33%;
      top: 66.66%;
      left: 66.66%;
      border-left: 1px solid white;
      border-top: 1px solid white;
    }
  }
}
